//package com.plian.system.wrapper.hr.passport;
//
//import com.plian.system.dto.hr.passport.PassportLendDTO;
//import com.plian.system.entity.hr.passport.PassportLend;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.hr.passport.PassportLendVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.*;
//
///**
// * 包装类,返回视图层所需的字段
// *
// * @author gangan
// * @since 2019-12-09
// */
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface PassportLendWrapper extends BaseWrapper<PassportLend, PassportLendDTO, PassportLendVO> {
//
//	@Override
//	@Mappings(value = {
//			@Mapping(source = "createUser", target = "createUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "approvedUser", target = "approvedUserName", qualifiedByName = USER_ID_TO_NAME),
//			@Mapping(source = "lenderCompany", target = "lenderCompanyName", qualifiedByName = ORG_ID_TO_NAME),
//			@Mapping(source = "documentTypeId", target = "documentTypeName", qualifiedByName = DICT_CODE_TO_NAME),
//			@Mapping(source = "lenderId", target = "lenderName", qualifiedByName = STAFF_ID_TO_NAME),
//			@Mapping(source = "holder", target = "staffName", qualifiedByName = STAFF_ID_TO_NAME)
//	})
//	PassportLendVO entityToVO(PassportLend entity);
//
//}
